home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Belgian Amiga Club - ADF Collection
/
BS1 part 05.zip
/
BS1 part 5
/
ANC_UTULITYS_16.adf
/
arclist
/
scroll.arc
/
ScrollI.S
next >
Wrap
Text File
|
1988-09-21
|
3KB
|
125 lines
gfxb=$7ff00
count=$7ff04
baba=$7ff08
charp=$7ff0c
oldcop=$7ff10
intrpt=$7ff14
org $40000
load $40000
beg:
movem.l a6/a5/a4/a3/a2/a1/a0/d7/d6/d5/d4/d3/d2/d1/d0,-(A7)
move.l #scrolly,charp ; Where scrolly resides
move.b #$08,count
lea $48000,a0
moveq #$7f,d0
clrmem:
clr.l (a0)+
dbf d0,clrmem
move.w #$8380,$dff096
move.w #$0020,$dff096
move.w #$4000,$dff09a
chkbtn:
btst #6,$bfe001
beq pressed
cmpi.b #1,$dff006
bne.s chkbtn
move.l #copl,$dff080
lea $dff000,a0
clr.l $120(a0)
clr.w $102(a0)
move.l #$00048000,$e0(a0)
move.l #$f9f00000,$40(a0)
move.l #$ffffffff,$44(a0)
move.l #$00048000,$50(a0)
move.l #$00047ffe,$54(a0)
clr.l $64(a0)
move.w #$0100,$58(a0)
wtbl:
btst #$e,$dff002
bne.s wtbl
subq.b #$01,count
bne.s endint
move.b #$08,count
scroll:
moveq #0,d0
move.l charp,a0
tst.b (a0)
bne.s noend
move.l #scrolly,a0
noend:
move.b (a0)+,d0
move.l a0,charp
cmpi.b #$60,d0
blt.s nofix
subi.b #$20,d0
nofix:
subq.l #1,d0
cmpi.b #$27,d0
ble.s okay
cmpi.b #$4f,d0
bgt.s skipit1
subi.l #$28*7,d0
skipit1:
addi.l #$28*14,d0
okay:
moveq #7,d1
move.l d0,a0
addi.l #$50000,a0
lea $4802f,a1
stch:
move.b (a0),(a1)
addi.w #$30,a1
addi.w #$28,a0
dbf d1,stch
endint:
bra chkbtn
pressed:
move.l $000004,a6
lea glib,a1
jsr -408(a6)
move.l d0,a6
move.w #$8020,$dff096
move.w #$c000,$dff09a
move.l $26(a6),$dff080
movem.l (a7)+,a6/a5/a4/a3/a2/a1/a0/d7/d6/d5/d4/d3/d2/d1/d0
rts
copl:
dc.w $008e,$9080
dc.w $0090,$9ae0,$0092,$0028
dc.w $0094,$00d8,$0108,$0002
dc.w $0104,$0010,$0100,$1200
dc.w $8f01,$ff01
dc.w $0182,$000f,$9001,$ff00
dc.w $0182,$044f,$9101,$ff00
dc.w $0182,$088f,$9201,$ff00
dc.w $0182,$0ccf,$9301,$ff00
dc.w $0182,$0fff,$9401,$ff00
dc.w $0182,$0ccf,$9501,$ff00
dc.w $0182,$088f,$9601,$ff00
dc.w $0182,$044f,$9701,$ff00
dc.w $0182,$000f,$9801,$ff00
dc.w $fffe,$fffe
glib:
dc "graphics.library",0
eo:
scrolly:
dc "tetragon proudly presents: tetracrunch v1.02, written by "
dc "antiaction of tetragon... this is only version one, "
dc "version two will soon arrive (and so will the mega version!) "
dc " this cruncher beats 'byte killer v1.2' already on scan-width "
dc "$0080! (and then it's thirty times faster!). "
dc " greetings to (in a-z order): academy, alpha flight, anc "
dc "europe, anti protection group, bitstoppers, chenu, defjam, dirac,"
dc " errorsoft, extazia, free access, gamma cracking force, h.t.i., "
dc "jewels, light force team, magnificient force, m.e.s., mr.superior"
dc ", network, p.a.s., phr crew, rat's company, skc, stack, starion, "
dc "taurus i, the band, the connection, the harkonnen connection, "
dc "the metro boys, the squad, the swap team, the young ones, "
dc "twilight team (send my disks, zoono), white spirit and w.o.d. "
dc " pheew... no, gotta leave bye! "
dc " ",0
end: